package com.irdstudio.efp.report.service.dao;

import com.irdstudio.efp.report.service.domain.RptAccLoan;
import com.irdstudio.efp.report.service.vo.RptAccLoanVO;

import java.util.List;

/**
 * DAO Interface: 马上金融联合贷台账明细
 *
 * @author gcb
 * @date 2020-01-13
 */
public interface RptAccLoanDao {
    /**
     * 新增数据
     *
     * @param rptAccLoan
     * @return
     */
    int insert(RptAccLoan rptAccLoan);

    /**
     * 根据主键删除信息
     *
     * @param rptAccLoan
     * @return
     */
    int deleteByPk(RptAccLoan rptAccLoan);

    /**
     * 根据主键更新信息
     *
     * @param rptAccLoan
     * @return
     */
    int updateByPk(RptAccLoan rptAccLoan);

    /**
     * 根据主键查询详情
     *
     * @param rptAccLoan
     * @return
     */
    RptAccLoan queryByPk(RptAccLoan rptAccLoan);


    List<RptAccLoan> queryReportData(RptAccLoan rptAccLoan);

    int countDatas(RptAccLoanVO rptAccLoanVO);

    List<RptAccLoan> queryReportDataByPage(RptAccLoan queryRptAccLoan);
}